package com.lanchetech.dao;

import com.lanchetech.bean.vo.AgreementSigningReq;
import com.lanchetech.bean.vo.AgreementSigningVo;
import com.lanchetech.entity.AgreementSigning;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AgreementSigningMapper{

    AgreementSigning findOneByPhone(String phone);

    long save(AgreementSigning agreementSigning);

    AgreementSigning findOneById(Long id);

    void examine(AgreementSigning agreementSigning);

    void deleteAgreementById(Long id);

    List<AgreementSigningVo> findAll(AgreementSigningReq agreementSigningReq);
}
